package zhh.tangbao.auxiliary.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.experimental.Accessors;
import zhh.tangbao.system.entity.DaoEntity;

/**
 * 2023/2/26
 * @author 粥灰灰
 * @version 1.0
 * 上传的文件
 */

@TableName(value = "system_file")
@Data
@Accessors(chain = true)
public class SystemFile extends DaoEntity {

    @TableId(type = IdType.ASSIGN_ID)
    private Long id;

    private String fileName;

    private String filePath;

    private String fileAccessPath;

    private Long fileSize;

    /** 该文件作为附件所映射的对象主键 */
    private String mappingId;

}
